//
//  LocationHelper.h
//  uteped_sdk
//
//  Created by mateng on 2024/4/2.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

@protocol LocationDelegate<NSObject>

@optional
- (void)onSignalLevelChanged:(NSInteger) level;// 强度0-4

@end

@interface LocationHelper : NSObject<CLLocationManagerDelegate>

+ (LocationHelper*)shareInstance;

@property(weak, nonatomic, nullable) id<LocationDelegate> delegate;

- (void)startLocation;
- (void)stopLocation;

@end

NS_ASSUME_NONNULL_END
